package com.example.demo.mapper;

/**
 * Created with IntelliJ IEDA.
 * Description:
 * User:86186
 * Date:2023-08-14
 * Time:14:06
 */

import com.example.demo.entity.Userinfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * Created with IntelliJ IEDA.
 * Description:
 * User:86186
 * Date:2023-08-02
 * Time:16:48
 */

@Mapper// 和五大类注解是一样的
public interface UserMapper {

    Userinfo login(@Param("username") String username,@Param("password") String password);

    int add(@Param("username") String username,@Param("password") String password);



}